<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>


<p align="center">
    Welcome back to our website <br>
    Enter the correct order or code that we give you the same
    With your email address to get your order the cancal or edit your
    <br> <br> <br>
<form action="CartView.do">
    <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center bgcolor="#FFFFFF">
        <TR>
            <TD class="td1"></TD>

            <TD class="top"></TD>
            <TD class="topright"></TD>
        </TR>
        <TR>
            <TD class="middleleft" rowSpan=3></TD>
            <TD bgcolor="#F0F0F0">
                <center> <h4>Information Cart</h4></center>

            </TD>
            <TD class="middleright" rowSpan=3></TD>
        </TR>
        <TR>
            <TD class="middlecenter"></TD>
        </TR>
        <TR>
            <TD class="main">

                <form action="CartView.do" name="fr">
                    <table width="570" height="150" border="0" align="center">
                        <tr>
                            <td>
                                <input name="option" type="radio" value="car" checked>Car Order
                            </td>
                            <td> <input name="option" type="radio" value="tour">Tour Order</td>
                        </tr>
                        <tr>
                            <td>Enter your code order : </td>
                            <td>
                                <input type="text" name="code">
                            </td>
                        </tr>
                        <tr>
                            <td>Enter your email :</td>
                            <td> <input type="text" name="email"></td>
                        </tr>
                        <tr>
                            <td colspan="2"><input type="submit" value="search" name="action" onclick="return checkform()"> </td>
                        </tr>
                    </table>
            </TD>
        </TR>

        <TR>
            <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
            <TD class="bottomright"><P align=right>&nbsp;</P></TD>
            <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
        </TR>
    </TABLE>
</form>
</p>
<input type="button" value="go to back" onclick="history.back();">
<script>
    function checkform(){
        if(document.fr.code.value!=""){
            if(document.fr.email.value!=""){
                return true
            }
            alert("please enter your email");
            return false;
        }
        alert("please enter your code");
        return false;

    }
</script>
